Skip to content

ci(dependabot): ignore SkiaSharp major updates until Avalonia moves - #1011

Merged
DeepDiver1975 merged 1 commit into
mainfrom
ci/dependabot-ignore-skiasharp-major
Nov 24, 2026
Merged

DeepDiver1975 merged 1 commit into
mainfrom
ci/dependabot-ignore-skiasharp-major

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Adds a semver-major ignore for SkiaSharp to the root NuGet entry in .github/dependabot.yml.

Why

SkiaSharp is referenced directly only so RasterOverlayCache can read an image's size from its codec. Directory.Packages.props says it has to stay on the version Avalonia.Skia resolves. Avalonia.Skia 12.1.6 and the current 12.2.0 are both built against SkiaSharp 3.119.4 and bring in SkiaSharp.NativeAssets.Linux 3.119.4.

#1007 bumped SkiaSharp to 4.156.1. That would pair managed SkiaSharp 4 with a 3.x native libSkiaSharp on Linux, and Avalonia.Skia itself was compiled against the 3.x API. The NU1004 lock-file failure in that PR's CI is the familiar #642 shape and could be fixed. But fixing it would only hide the real incompatibility, so #1007 is being closed.

The ignore applies to major versions only, so 3.x patch and minor updates still come through. Remove it once Avalonia.Skia depends on SkiaSharp 4.

Only the root entry gets the ignore: the Android and acceptance-test props files do not reference SkiaSharp.

🤖 Generated with Claude Code

SkiaSharp is referenced directly only so RasterOverlayCache can ask a
codec for an image's size, and Directory.Packages.props pins it to the
version Avalonia.Skia resolves. Avalonia.Skia, up to the current 12.2.0,
is built against SkiaSharp 3.119.4 and ships the 3.119.4 native Linux
assets. The 4.156.1 bump in #1007 would pair managed SkiaSharp 4 with a
3.x native library on Linux, so major updates are ignored until
Avalonia.Skia itself depends on SkiaSharp 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5d5a992 and d47f2d6.

Files selected for processing: 1

  • .github/dependabot.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@DeepDiver1975
DeepDiver1975 merged commit 392fcf2 into main Nov 24, 2026
15 checks passed
@DeepDiver1975
DeepDiver1975 deleted the ci/dependabot-ignore-skiasharp-major branch November 24, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant